import request from '@/utils/request'
export function selectList(data) {
  return request({
    url: '/listByFileManagement',
    method: 'post',
    data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
export function deletelist(data) {
  return request({
    url: '/removeArchives',
    method: 'delete',
    data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
export function selectLog(data) {
  return request({
    url: '/selectOperationLog',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
export function saveLog(data) {
  return request({
    url: '/updateOperationLog',
    method: 'POST',
    data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}

export function getDepartmentList(data) {
  return request({
    url: '/getDepartmentList',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
export function getUsersList(data) {
  return request({
    url: '/getUsersList',
    method: 'POST',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
